<?php
$matkul=30;
for ($b=1;$b<=$matkul;$b++){
		$hp[$b]=mt_rand(0,999);
}
$ta="2009/2010";
$sem="1";
$ekse="125.222";
?>
		
<form name='lempar' method='POST' action='hasil.php'>
<input type='hidden' name='ta' id='ta' value="<?php echo $ta ?>">
<input type='hidden' name='sem' id='sem' value="<?php echo $sem ?>">
<input type='hidden' name='ekse' id='ekse' value="<?php echo $ekse ?>">
<input type='hidden' name='matkul' id='matkul' value="<?php echo $matkul ?>">
<?php
for ($xx=1;$xx<=$matkul;$xx++){
echo "<input type='hidden' name='probe".$xx."' id='probe".$xx."' value='";
echo $hp[$xx];
echo "'>\n";
}
?>
<input type='submit' value='Simpan'>
</form>
